package com.pactera.madp.cp.api.model.wm;

import lombok.Data;

@Data
public class ChatRsaKeyModel {

    private String version;
    private String publicKey;
    private String privateKey;

    public int getVersion() {
        try {
            return Integer.parseInt(version);
        } catch (Exception e) {
            return -1;
        }
    }
}
